﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Security.Principal;

namespace FinWeb3.Models.Repository
{
    public interface IRepository<T>
    {
        void Save(T item, IIdentity user);
        void Delete(T item, IIdentity user);
        T Get(int id, IIdentity user);
        IQueryable<T> GetAll(IIdentity user);
    }
}
